/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package TestClasses;

import java.util.Vector;





/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Laurens
 */
public class RenameParameterTest
{
    int a;

    public static void main(String[] args) throws Exception
    {
        
    }

    public RenameParameterTest()
    {

    }

    public void testGlobal(int h)
    {
        a = h;
        a=h;
        a =h;
        a= h;
        a =  h;
    }

    public static void testNoParameter()
    {
        int w = 0;
        w += w;
        w++;
        System.out.println(w);
        --w;
        System.out.println(w);
    }

    public static void testString(String h, String k)
    {
        h = "Sjas";
        k = "Hello";
        if(h.contains("S"))
        {
            System.out.println(h.charAt(2));
        }
        else if(k.contains("H"))
        {
            System.out.println(h.charAt(2));
            System.out.println(k.charAt(2));
        }
        System.out.println(k);
        k.split(h);
    }

    public static void testInt(int h)
    {
        DeleteMethodTestReference d = new DeleteMethodTestReference();
        d.refactor();
        h = 3;
        h++;
        --h;
        String[] said = new String[h];
        said[0] = "sad";
        said[1] = "bad";
        said[2] = "dad";
        if(h == 0)
        {
            
        }
        else
        {
            ++h;
            h--;
            h+=1;
            h-=1;
            h*=1;
            h/=1;
            for(h = 0; h < 10; h++)
            {
                System.out.println(h);
            }
        }
        System.out.println(said[h]);
    }
    
    public Vector testVector(Vector v)
    {
        Vector result = new Vector();
        result.add(v.get(0));
        result.add(v.isEmpty());
        if(v.toString().endsWith("h"))
        {
            result = v;
        }
        else
        {
            System.out.println(v.toArray().length);
        }
        return result;
    }
    
    public Object testObject(Object o)
    {
        Object result = new Object();
        if(result.equals(o))
        {
            return null;
        }
        else
        {
            result = o;
        }
        return result;
    }

    public Object[] testObjectArray(Object[] o)
    {
        Object[] result = new Object[5];
        if(result.equals(o))
        {
            return null;
        }
        else
        {
            result[0] = o[0];
            System.out.println(o.length);
            if(o[0].equals(o[1]))
            {
                String o2 = o[0].toString();
                System.out.println(o2);
            }
            else
            {
                
            }
        }
        return result;
    }
    
    public String[] testStringArray(String[] strA)
    {
        String[] result = new String[3];
        if(result.equals(strA))
        {
            return null;
        }
        else
        {
            result[0] = strA[0];
            System.out.println(strA.length);
            if(strA[0].equals(strA[1]))
            {
                String o2 = strA[0].toString();
                System.out.println(o2);
            }
            else
            {
                
            }
        }
        return result;
    }
    
    public int getA()
    {
        return a;
    }
    
    public void general
            
            
            
            (int a, int ax, 
            /*fsdwer*/ int xax, int xa, int a1, int a$, int $a, int _a, int a_, int _1a1
            //hello-
            )
    {
        a = 0;
        a = ax;
        a = xax;
        a = xa;
        a = a1;
        a = a$;
        a = $a;
        a = _a;
        a = a_;
        a = _1a1;
        return;
    }
    
    public void testLettersAfter(int a, int ax)
    {
        a = 0;
        a = ax;
        return;
    }
    
    public void testNumbersAfter(int a, int a1)
    {
        a = 0;
        a = a1;
        return;
    }
    
    public void testLettersBefore(int a, int xa)
    {
        a = 0;
        a = xa;
        return;
    }
    
    public void testLettersBoth(int a, int xax)
    {
        a = 0;
        a = xax;
        return;
    }
    
    public void testNumbersBefore(int a, int _1a)
    {
        a = 0;
        a = _1a;
        return;
    }
    
    public void testNumbersBoth(int a, int _1a1)
    {
        a = 0;
        a = _1a1;
        return;
    }
    
    public void errorneousName(int hello)
    {
        hello = 0;
        hello++;
        return;
    }
    
    public void test_(int a, int a_, int _a)
    {
        a = 0;
        a = a_;
        a = _a;
        return;
    }
    
    public void test$(int a, int a$, int $a)
    {
        a = 0;
        a = a$;
        a = $a;
        return;
    }
    
    
}
